<?php

use Carbon\Carbon;

class Comment extends \Eloquent {
	protected $fillable = [];

	public $timestamps = true;
    public function owner()
    {
        return $this->belongsTo('User','user_id');
    }
    public function getCreatedAtAttribute($value) {
        return Carbon::createFromTimeStamp(strtotime($value))->diffForHumans();
    }
}